/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ejemplotor;

/**
 *
 * @author void
 */
public class Main
{
public static void main(String[] args)
{
Main main = new Main();
main.printMessage(Languaje.ENGLISH);
main.printMessage(Languaje.SPANISH);
main.printMessage(Languaje.FRANCAIS);
}
void printMessage(Languaje languaje)
    {
String message=null;
switch(languaje)
{
case FRANCAIS:
message="BOnjuur le monde";
break;
case SPANISH:
message="Hola mundo";
break;
default:
message="Hellow world";
}
System.out.println(message);
}
enum Languaje
{
ENGLISH, FRANCAIS,SPANISH
}
}


